package StudyCode.summary.Basic.mystring;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class StringIndexOf {
	public static void main(String[] args) {
		String str = "hello";

		System.out.println(str + " indexOf l:" + str.indexOf("l"));
		System.out.println(str + " lastIndexOf l:" + str.lastIndexOf("l"));
	}
}
